package com.dz.content.domain.repository;

import com.dz.content.domain.entity.ContentCategory;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.querydsl.QuerydslPredicateExecutor;
import org.springframework.stereotype.Repository;

@Repository
public interface ContentCategoryRepository extends JpaRepository<ContentCategory,Long>, QuerydslPredicateExecutor<ContentCategory> {

    ContentCategory findByIdAndDeleteFlag(Long id,Integer delete_flag);
}
